home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / pctchnqs / 1990 / number2 / sd.bat < prev    next >
DOS Batch File  |  1990-04-05  |  216b  |  11 lines

  1. echo off
  2.   cd >c:\bat\lastdir
  3. if ""=="%1" goto previous
  4.   cd %1 >NUL
  5.   goto join
  6. :previous
  7.   command /c c:\bat\sdx
  8. :join
  9.   copy c:\bat\sd.dat+c:\bat\lastdir c:\bat\sdx.bat >NUL
  10.   del c:\bat\lastdir
  11. echo on